package com.owen.server;

import com.owen.pojo.Product;

import java.util.List;

public interface ProductServer {

    public List<Product> findAll();

    public List<Product> findByProduct(Product product);

    public Product findById(Integer id);

    public Integer deleteById(Integer id);

    public Integer updateById(Product product);

    public Integer addProduct(Product product);

    public Integer deleteBatch(Integer [] ids);
}